package com.fh.common.baseData;

public enum ExceptionData {
    PARAMEXCEPTIONDATA(4000,"参数有误"),
    SERVERERROR(5000,"服务内部处理异常"),
    USERNO(4001,"用户不存在"),
    PASSWORDERROR(4002,"密码错误"),
    CountNo(4004,"库存不足"),
    TokenNo(4003,"缺少token");
    private Integer code;
    private String info;

    ExceptionData(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
